package com.kish.ppt03;
import java.util.Scanner;

public class Demo01 {
    public static void main(String[] args) {
        //考试奖励
        //需求：键盘录入考试成绩，根据成绩所在的区间，程序打印出不同的奖励机制
        Scanner scanner = new Scanner(System.in);

        System.out.println("请输入考试成绩：");

        int score = scanner.nextInt();

        if (score >= 95) {
            System.out.println("奖励：山地自行车一辆");
        } else if (score >= 90) {
            System.out.println("奖励：游乐场玩一次");
        } else if (score >= 80) {
            System.out.println("奖励：变形金刚玩具一个");
        } else {
            System.out.println("胖揍一顿");
        }
        scanner.close();
    }
}
